dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5e63e5
)
db: Use brackets `()` in operation for better readability
author
Derick Alangi
<alangiderick@gmail.com>
Wed, 20 Mar 2019 16:24:35 +0000
(17:24 +0100)
committer
Derick Alangi
<alangiderick@gmail.com>
Wed, 20 Mar 2019 18:02:06 +0000
(19:02 +0100)
Wrap the expression into () to improve readability of the code.
Change-Id: Id53ea4709a7601fd1354833a44bd652570c733e6
includes/db/DatabaseOracle.php
patch
|
blob
|
history
diff --git
a/includes/db/DatabaseOracle.php
b/includes/db/DatabaseOracle.php
index
a051d83
..
16bde4b
100644
(file)
--- a/
includes/db/DatabaseOracle.php
+++ b/
includes/db/DatabaseOracle.php
@@
-116,7
+116,7
@@
class DatabaseOracle extends Database {
$this->setFlag( DBO_PERSISTENT );
}
- $session_mode =
$this->flags & DBO_SYSDBA
? OCI_SYSDBA : OCI_DEFAULT;
+ $session_mode =
( $this->flags & DBO_SYSDBA )
? OCI_SYSDBA : OCI_DEFAULT;
Wikimedia\suppressWarnings();
if ( $this->flags & DBO_PERSISTENT ) {